home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / Add-Ons / CodeWarrior / DASM 2.0 / test.sit / test / test.h < prev    next >
MacBinary  |  1997-02-17  |  4.6 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Mon Feb 17 12:57:06 1997, modified Mon Feb 17 12:57:06 1997, creator 'CWIE', type ASCII, 3982 bytes "test.h" , at 0x100e 410 bytes resource default (weak)
99% file data default
49% TrID Macintosh plain text (MacBinary) default
33% TrID TTComp archive compressed (bin-4K) default (weak)
16% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 06 74 65 73 74 2e 68 | 00 00 00 00 00 00 00 00 |..test.h|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 0f 8e 00 | 00 01 9a af 2e 4c 72 af |........|.....Lr.|
|00000060| 2e 4c 72 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.Lr.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 59 fa 00 00 |........|....Y...|
|00000080| 2f 2f 20 4e 4f 54 45 3a | 20 65 6e 75 6d 73 20 6d |// NOTE:| enums m|
|00000090| 75 73 74 20 45 58 41 43 | 54 4c 59 20 4d 41 54 43 |ust EXAC|TLY MATC|
|000000a0| 48 20 73 74 72 75 63 74 | 75 72 65 20 62 65 6c 6f |H struct|ure belo|
|000000b0| 77 21 0d 0d 65 6e 75 6d | 0d 7b 0d 09 73 43 6f 75 |w!..enum|.{..sCou|
|000000c0| 6e 74 65 72 2c 0d 09 73 | 46 72 61 6d 65 2c 0d 09 |nter,..s|Frame,..|
|000000d0| 73 57 72 61 70 70 65 64 | 2c 0d 09 73 46 61 63 69 |sWrapped|,..sFaci|
|000000e0| 6e 67 2c 0d 09 73 48 69 | 64 64 65 6e 2c 0d 09 73 |ng,..sHi|dden,..s|
|000000f0| 4c 61 79 65 72 2c 0d 09 | 73 50 61 6c 2c 0d 0d 09 |Layer,..|sPal,...|
|00000100| 73 58 2c 0d 09 73 59 2c | 0d 09 73 58 4d 6f 76 65 |sX,..sY,|..sXMove|
|00000110| 2c 0d 09 73 59 4d 6f 76 | 65 2c 0d 0d 09 73 53 70 |,..sYMov|e,...sSp|
|00000120| 72 69 74 65 4e 75 6d 2c | 0d 09 73 53 65 71 49 64 |riteNum,|..sSeqId|
|00000130| 78 2c 0d 0d 09 53 56 41 | 52 43 4e 54 0d 7d 3b 0d |x,...SVA|RCNT.};.|
|00000140| 0d 23 64 65 66 69 6e 65 | 20 54 45 53 54 44 45 46 |.#define| TESTDEF|
|00000150| 49 4e 45 20 28 31 29 0d | 23 64 65 66 69 6e 65 20 |INE (1).|#define |
|00000160| 54 45 53 54 44 45 46 32 | 20 28 54 45 53 54 44 45 |TESTDEF2| (TESTDE|
|00000170| 46 49 4e 45 20 2a 20 32 | 29 0d 0d 2f 2f 20 43 48 |FINE * 2|)..// CH|
|00000180| 41 4e 47 45 53 20 54 4f | 20 42 45 4c 4f 57 20 4d |ANGES TO| BELOW M|
|00000190| 55 53 54 20 42 45 20 52 | 45 50 4c 49 43 41 54 45 |UST BE R|EPLICATE|
|000001a0| 44 20 41 42 4f 56 45 20 | 26 20 49 4e 20 45 51 55 |D ABOVE |& IN EQU|
|000001b0| 41 54 45 53 2e 47 4f 52 | 20 3c 2d 2d 20 28 6e 6f |ATES.GOR| <-- (no|
|000001c0| 74 20 61 6e 79 20 6d 6f | 72 65 20 3a 5e 29 20 29 |t any mo|re :^) )|
|000001d0| 21 21 21 0d 0d 74 79 70 | 65 64 65 66 20 73 74 72 |!!!..typ|edef str|
|000001e0| 75 63 74 20 53 70 72 69 | 74 65 53 74 72 75 63 74 |uct Spri|teStruct|
|000001f0| 0d 7b 0d 09 4c 6f 6e 67 | 09 63 6f 75 6e 74 65 72 |.{..Long|.counter|
|00000200| 2c 09 09 09 09 2f 2f 20 | 23 20 6f 66 20 74 69 63 |,....// |# of tic|
|00000210| 6b 73 20 74 6f 20 77 61 | 69 74 20 62 65 66 6f 72 |ks to wa|it befor|
|00000220| 65 20 75 70 64 61 74 69 | 6e 67 20 63 75 72 72 65 |e updati|ng curre|
|00000230| 6e 74 20 66 72 61 6d 65 | 0d 09 09 09 09 66 72 61 |nt frame|.....fra|
|00000240| 6d 65 2c 0d 09 09 09 09 | 77 72 61 70 70 65 64 2c |me,.....|wrapped,|
|00000250| 09 09 09 09 2f 2f 20 66 | 72 61 6d 65 2f 73 65 71 |....// f|rame/seq|
|00000260| 20 77 61 73 20 63 68 61 | 6e 67 65 64 21 0d 09 09 | was cha|nged!...|
|00000270| 09 09 66 61 63 69 6e 67 | 2c 0d 09 09 09 09 68 69 |..facing|,.....hi|
|00000280| 64 64 65 6e 2c 0d 09 09 | 09 09 6c 61 79 65 72 2c |dden,...|..layer,|
|00000290| 09 09 09 09 09 2f 2f 20 | 77 68 69 63 68 20 6c 61 |.....// |which la|
|000002a0| 79 65 72 20 73 70 72 69 | 74 65 20 69 73 20 61 74 |yer spri|te is at|
|000002b0| 74 61 63 68 65 64 20 74 | 6f 0d 09 09 09 09 70 61 |tached t|o.....pa|
|000002c0| 6c 2c 09 09 09 09 09 09 | 2f 2f 20 70 61 6c 65 74 |l,......|// palet|
|000002d0| 74 65 20 74 6f 20 75 73 | 65 20 28 30 20 3d 20 64 |te to us|e (0 = d|
|000002e0| 65 66 61 75 6c 74 29 0d | 0d 09 20 20 20 20 09 78 |efault).|.. .x|
|000002f0| 2c 09 09 09 09 09 09 09 | 2f 2f 20 63 75 72 72 65 |,.......|// curre|
|00000300| 6e 74 20 6c 6f 63 61 74 | 69 6f 6e 0d 09 09 09 09 |nt locat|ion.....|
|00000310| 79 2c 09 09 09 09 09 09 | 09 2f 2f 20 20 28 6c 6f |y,......|.// (lo|
|00000320| 20 3d 20 32 35 36 20 70 | 61 72 74 69 61 6c 2c 20 | = 256 p|artial, |
|00000330| 68 69 3d 77 6f 72 6c 64 | 20 63 6f 6f 72 64 29 0d |hi=world| coord).|
|00000340| 09 09 09 09 78 6d 6f 76 | 65 2c 0d 09 09 09 09 79 |....xmov|e,.....y|
|00000350| 6d 6f 76 65 2c 0d 0d 09 | 20 20 20 20 09 73 70 72 |move,...| .spr|
|00000360| 69 74 65 4e 75 6d 2c 09 | 09 09 2f 2f 20 53 70 72 |iteNum,.|..// Spr|
|00000370| 69 74 65 20 61 72 72 61 | 79 20 69 6e 64 65 78 0d |ite arra|y index.|
|00000380| 09 09 09 09 73 65 71 49 | 64 78 2c 09 09 09 09 09 |....seqI|dx,.....|
|00000390| 2f 2f 20 73 61 76 65 20 | 73 65 71 20 69 6e 64 65 |// save |seq inde|
|000003a0| 78 20 28 62 79 74 65 20 | 6f 66 66 73 65 74 29 20 |x (byte |offset) |
|000003b0| 69 6e 20 73 70 72 69 74 | 65 20 64 61 74 61 0d 09 |in sprit|e data..|
|000003c0| 09 09 09 77 72 61 70 6d | 65 3b 20 20 20 20 20 20 |...wrapm|e; |
|000003d0| 20 20 20 2f 2f 20 69 66 | 20 6e 6f 6e 2d 7a 65 72 | // if| non-zer|
|000003e0| 6f 2c 20 63 75 72 72 65 | 6e 74 20 73 65 71 75 65 |o, curre|nt seque|
|000003f0| 6e 63 65 20 73 68 6f 75 | 6c 64 20 77 72 61 70 20 |nce shou|ld wrap |
|00000400| 63 6f 6e 74 69 6e 75 6f | 75 73 6c 79 0d 0d 09 53 |continuo|usly...S|
|00000410| 65 71 75 65 6e 63 65 50 | 74 72 09 73 65 71 3b 09 |equenceP|tr.seq;.|
|00000420| 09 09 2f 2f 20 70 74 72 | 20 74 6f 20 73 65 71 75 |..// ptr| to sequ|
|00000430| 65 6e 63 65 20 64 65 66 | 0d 09 53 65 71 46 72 61 |ence def|..SeqFra|
|00000440| 6d 65 50 74 72 20 73 65 | 71 46 50 74 72 3b 09 2f |mePtr se|qFPtr;./|
|00000450| 2f 20 70 6f 69 6e 74 65 | 72 20 74 6f 20 66 72 61 |/ pointe|r to fra|
|00000460| 6d 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 0d 09 |me infor|mation..|
|00000470| 46 72 61 6d 65 50 74 72 | 20 66 72 6d 50 74 72 3b |FramePtr| frmPtr;|
|00000480| 0d 09 73 74 72 75 63 74 | 20 42 4d 61 70 20 2a 63 |..struct| BMap *c|
|00000490| 75 72 42 4d 61 70 3b 09 | 2f 2f 20 73 65 71 75 65 |urBMap;.|// seque|
|000004a0| 6e 63 65 20 69 6e 64 65 | 78 20 28 66 72 61 6d 65 |nce inde|x (frame|
|000004b0| 29 0d 09 50 74 72 09 09 | 6d 61 73 6b 50 74 72 3b |)..Ptr..|maskPtr;|
|000004c0| 09 09 09 09 2f 2f 20 69 | 66 20 21 6e 69 6c 2c 20 |....// i|f !nil, |
|000004d0| 6d 61 73 6b 20 77 61 73 | 20 61 6c 6c 6f 63 61 74 |mask was| allocat|
|000004e0| 65 64 20 61 6e 64 20 63 | 72 65 61 74 65 64 2d 20 |ed and c|reated- |
|000004f0| 75 73 65 20 69 74 21 0d | 0d 09 73 74 72 75 63 74 |use it!.|..struct|
|00000500| 20 53 70 72 69 74 65 53 | 74 72 75 63 74 0d 09 09 | SpriteS|truct...|
|00000510| 09 09 2a 2a 6e 65 78 74 | 2c 09 09 09 09 09 2f 2f |..**next|,.....//|
|00000520| 20 6e 65 78 74 20 73 70 | 72 69 74 65 20 69 6e 20 | next sp|rite in |
|00000530| 6c 69 6e 6b 65 64 20 6c | 69 73 74 0d 09 09 09 09 |linked l|ist.....|
|00000540| 2a 2a 70 72 65 76 3b 09 | 09 09 09 09 2f 2f 20 70 |**prev;.|....// p|
|00000550| 72 65 76 69 6f 75 73 20 | 73 70 72 69 74 65 20 69 |revious |sprite i|
|00000560| 6e 20 6c 69 6e 6b 65 64 | 20 6c 69 73 74 0d 0d 7d |n linked| list..}|
|00000570| 20 53 70 72 69 74 65 53 | 74 72 75 63 74 2c 20 2a | SpriteS|truct, *|
|00000580| 53 70 72 69 74 65 50 74 | 72 2c 20 2a 2a 53 70 72 |SpritePt|r, **Spr|
|00000590| 69 74 65 48 64 6c 3b 0d | 0d 0d 2f 2f c4 c4 c4 c4 |iteHdl;.|..//....|
|000005a0| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|000005b0| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|000005c0| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|000005d0| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|000005e0| c4 0d 2f 2f 0d 2f 2f 09 | 41 63 74 6f 72 20 53 74 |..//.//.|Actor St|
|000005f0| 72 75 63 74 75 72 65 0d | 2f 2f 0d 2f 2f c4 c4 c4 |ructure.|//.//...|
|00000600| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000610| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000620| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000630| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000640| c4 c4 0d 0d 65 6e 75 6d | 0d 7b 0d 09 61 53 70 72 |....enum|.{..aSpr|
|00000650| 69 74 65 2c 0d 0d 09 61 | 4d 61 78 47 72 61 76 2c |ite,...a|MaxGrav,|
|00000660| 0d 0d 09 61 58 56 65 6c | 2c 0d 09 61 59 56 65 6c |...aXVel|,..aYVel|
|00000670| 2c 0d 0d 09 61 48 54 6f | 70 2c 09 09 2f 2f 20 63 |,...aHTo|p,..// c|
|00000680| 6f 6c 6c 69 73 69 6f 6e | 20 63 72 65 63 74 0d 09 |ollision| crect..|
|00000690| 61 48 4c 65 66 74 2c 0d | 09 61 48 42 6f 74 74 6f |aHLeft,.|.aHBotto|
|000006a0| 6d 2c 0d 09 61 48 52 69 | 67 68 74 2c 0d 0d 09 61 |m,..aHRi|ght,...a|
|000006b0| 58 4d 69 64 2c 0d 09 61 | 59 4d 69 64 2c 0d 0d 09 |XMid,..a|YMid,...|
|000006c0| 61 44 65 66 61 75 6c 74 | 2c 0d 09 61 45 76 65 6e |aDefault|,..aEven|
|000006d0| 74 54 62 6c 2c 0d 09 61 | 53 63 72 69 70 74 31 2c |tTbl,..a|Script1,|
|000006e0| 0d 09 61 53 63 72 69 70 | 74 32 2c 0d 09 61 53 63 |..aScrip|t2,..aSc|
|000006f0| 72 69 70 74 33 2c 0d 0d | 09 61 48 69 74 52 74 6e |ript3,..|.aHitRtn|
|00000700| 2c 0d 09 61 48 75 72 74 | 52 74 6e 2c 0d 09 61 44 |,..aHurt|Rtn,..aD|
|00000710| 65 61 64 52 74 6e 2c 0d | 0d 09 61 52 65 74 75 72 |eadRtn,.|..aRetur|
|00000720| 6e 2c 0d 0d 09 61 42 75 | 74 74 6f 6e 73 2c 0d 09 |n,...aBu|ttons,..|
|00000730| 61 42 74 6e 4d 61 73 6b | 2c 0d 09 61 42 74 6e 46 |aBtnMask|,..aBtnF|
|00000740| 6f 72 63 65 2c 0d 0d 09 | 61 43 6f 75 6e 74 2c 0d |orce,...|aCount,.|
|00000750| 09 61 46 6c 6f 6f 72 46 | 6c 67 2c 0d 09 61 4a 75 |.aFloorF|lg,..aJu|
|00000760| 6d 70 4f 6b 2c 0d 09 61 | 53 61 66 65 2c 0d 0d 09 |mpOk,..a|Safe,...|
|00000770| 61 48 50 2c 0d 09 61 49 | 51 2c 0d 09 61 44 69 73 |aHP,..aI|Q,..aDis|
|00000780| 74 49 51 2c 0d 09 61 53 | 74 6f 70 49 51 2c 0d 09 |tIQ,..aS|topIQ,..|
|00000790| 61 54 79 70 65 2c 0d 09 | 61 53 6d 61 72 74 73 2c |aType,..|aSmarts,|
|000007a0| 0d 09 61 46 69 72 65 44 | 69 72 2c 0d 09 61 47 6f |..aFireD|ir,..aGo|
|000007b0| 64 46 6c 61 67 2c 0d 0d | 09 61 54 65 6d 70 31 2c |dFlag,..|.aTemp1,|
|000007c0| 0d 09 61 54 65 6d 70 32 | 2c 0d 09 61 54 65 6d 70 |..aTemp2|,..aTemp|
|000007d0| 33 2c 0d 09 61 54 65 6d | 70 34 2c 0d 0d 09 61 46 |3,..aTem|p4,...aF|
|000007e0| 69 72 65 43 6e 74 2c 0d | 0d 09 61 4e 65 78 74 2c |ireCnt,.|..aNext,|
|000007f0| 0d 09 61 50 72 65 76 2c | 0d 0d 09 4c 61 73 74 5f |..aPrev,|...Last_|
|00000800| 41 63 74 6f 72 5f 56 61 | 72 2c 0d 0d 09 41 56 41 |Actor_Va|r,...AVA|
|00000810| 52 43 4e 54 0d 7d 3b 0d | 0d 2f 2f 20 21 21 21 21 |RCNT.};.|.// !!!!|
|00000820| 21 21 21 21 21 21 21 21 | 0d 2f 2f 20 49 4d 50 4f |!!!!!!!!|.// IMPO|
|00000830| 52 54 41 4e 54 21 21 21 | 20 4d 6f 64 69 66 69 63 |RTANT!!!| Modific|
|00000840| 61 74 69 6f 6e 73 20 62 | 65 6c 6f 77 20 4d 55 53 |ations b|elow MUS|
|00000850| 54 20 62 65 20 64 75 70 | 6c 69 63 61 74 65 64 20 |T be dup|licated |
|00000860| 69 6e 20 61 62 6f 76 65 | 20 65 6e 75 6d 20 6c 69 |in above| enum li|
|00000870| 73 74 21 21 21 0d 2f 2f | 20 21 21 21 21 21 21 21 |st!!!.//| !!!!!!!|
|00000880| 21 21 21 21 21 0d 0d 74 | 79 70 65 64 65 66 20 73 |!!!!!..t|ypedef s|
|00000890| 74 72 75 63 74 20 20 41 | 63 74 6f 72 53 74 72 75 |truct A|ctorStru|
|000008a0| 63 74 0d 7b 0d 09 53 70 | 72 69 74 65 50 74 72 20 |ct.{..Sp|ritePtr |
|000008b0| 73 70 72 69 74 65 3b 09 | 2f 2f 20 70 6f 69 6e 74 |sprite;.|// point|
|000008c0| 65 72 20 74 6f 20 73 70 | 72 69 74 65 20 66 6f 72 |er to sp|rite for|
|000008d0| 20 74 68 69 73 20 61 63 | 74 6f 72 0d 0d 09 6c 6f | this ac|tor...lo|
|000008e0| 6e 67 09 6d 61 78 47 72 | 61 76 69 74 79 2c 09 2f |ng.maxGr|avity,./|
|000008f0| 2f 20 20 6d 61 78 20 67 | 72 61 76 69 74 79 20 61 |/ max g|ravity a|
|00000900| 74 20 77 68 69 63 68 20 | 73 70 72 69 74 65 20 77 |t which |sprite w|
|00000910| 69 6c 6c 20 66 61 6c 6c | 0d 0d 09 09 09 09 78 76 |ill fall|......xv|
|00000920| 65 6c 2c 09 09 09 09 2f | 2f 20 61 63 74 6f 72 27 |el,..../|/ actor'|
|00000930| 73 20 6d 6f 76 65 6d 65 | 6e 74 20 72 61 74 65 73 |s moveme|nt rates|
|00000940| 0d 09 09 09 09 79 76 65 | 6c 3b 0d 0d 09 6c 6f 6e |.....yve|l;...lon|
|00000950| 67 09 74 6f 70 2c 0d 09 | 09 09 09 6c 65 66 74 2c |g.top,..|...left,|
|00000960| 0d 09 09 09 09 62 6f 74 | 74 6f 6d 2c 09 09 09 2f |.....bot|tom,.../|
|00000970| 2f 20 63 6f 6c 6c 69 73 | 69 6f 6e 20 72 65 63 74 |/ collis|ion rect|
|00000980| 61 6e 67 6c 65 20 26 20 | 77 69 64 74 68 2f 68 65 |angle & |width/he|
|00000990| 69 67 68 74 20 28 66 6f | 72 20 73 70 65 65 64 29 |ight (fo|r speed)|
|000009a0| 0d 09 09 09 09 72 69 67 | 68 74 2c 0d 09 09 09 09 |.....rig|ht,.....|
|000009b0| 78 6d 69 64 2c 0d 09 09 | 09 09 79 6d 69 64 3b 0d |xmid,...|..ymid;.|
|000009c0| 0d 09 73 68 6f 72 74 09 | 2a 64 65 66 53 63 72 69 |..short.|*defScri|
|000009d0| 70 74 2c 20 2f 2f 20 64 | 65 66 61 75 6c 74 20 73 |pt, // d|efault s|
|000009e0| 63 72 69 70 74 20 28 66 | 6f 72 20 44 4f 4e 45 20 |cript (f|or DONE |
|000009f0| 68 61 6e 64 6c 69 6e 67 | 29 0d 09 09 09 09 2a 65 |handling|).....*e|
|00000a00| 76 65 6e 74 54 61 62 6c | 65 2c 2f 2f 20 61 63 74 |ventTabl|e,// act|
|00000a10| 69 6f 6e 20 6c 69 73 74 | 20 28 62 74 6e 2c 73 63 |ion list| (btn,sc|
|00000a20| 72 69 70 74 20 61 64 64 | 72 29 0d 09 09 09 09 2a |ript add|r).....*|
|00000a30| 73 63 72 69 70 74 2c 09 | 09 2f 2f 20 61 64 64 72 |script,.|.// addr|
|00000a40| 2e 20 6f 66 20 73 70 72 | 69 74 65 20 63 6f 6e 74 |. of spr|ite cont|
|00000a50| 72 6f 6c 20 73 63 72 69 | 70 74 0d 09 09 09 09 2a |rol scri|pt.....*|
|00000a60| 73 63 72 69 70 74 32 2c | 09 09 2f 2f 20 20 61 63 |script2,|..// ac|
|00000a70| 74 69 6f 6e 20 73 63 72 | 69 70 74 20 28 6f 76 65 |tion scr|ipt (ove|
|00000a80| 72 72 69 64 65 73 20 64 | 65 66 61 75 6c 74 29 0d |rrides d|efault).|
|00000a90| 09 09 09 09 2a 73 63 72 | 69 70 74 33 2c 09 09 2f |....*scr|ipt3,../|
|00000aa0| 2f 20 20 75 73 65 64 20 | 77 68 65 6e 20 73 70 72 |/ used |when spr|
|00000ab0| 69 74 65 20 69 73 20 64 | 61 6d 61 67 65 64 0d 09 |ite is d|amaged..|
|00000ac0| 09 09 09 2a 68 69 74 52 | 74 6e 2c 09 09 2f 2f 20 |...*hitR|tn,..// |
|00000ad0| 73 70 72 69 74 65 20 63 | 6f 6c 6c 69 73 69 6f 6e |sprite c|ollision|
|00000ae0| 20 73 63 72 69 70 74 0d | 09 09 09 09 2a 68 75 72 | script.|....*hur|
|00000af0| 74 52 74 6e 2c 09 09 2f | 2f 20 73 63 72 69 70 74 |tRtn,../|/ script|
|00000b00| 20 74 6f 20 66 6f 6c 6c | 6f 77 20 69 66 20 73 70 | to foll|ow if sp|
|00000b10| 72 69 74 65 20 77 61 73 | 20 68 75 72 74 20 62 75 |rite was| hurt bu|
|00000b20| 74 20 6e 6f 74 20 6b 69 | 6c 6c 65 64 0d 09 09 09 |t not ki|lled....|
|00000b30| 09 2a 64 65 61 74 68 52 | 74 6e 2c 09 2f 2f 20 73 |.*deathR|tn,.// s|
|00000b40| 63 72 69 70 74 20 74 6f | 20 66 6f 6c 6c 6f 77 20 |cript to| follow |
|00000b50| 69 66 20 73 70 72 69 74 | 65 20 77 61 73 20 6b 69 |if sprit|e was ki|
|00000b60| 6c 6c 65 64 0d 09 09 09 | 09 2a 72 65 74 41 64 64 |lled....|.*retAdd|
|00000b70| 72 3b 09 09 2f 2f 20 72 | 65 74 75 72 6e 20 61 64 |r;..// r|eturn ad|
|00000b80| 64 72 65 73 73 20 28 66 | 6f 72 20 75 73 65 20 77 |dress (f|or use w|
|00000b90| 2f 43 61 6c 6c 20 73 63 | 72 69 70 74 20 63 6d 64 |/Call sc|ript cmd|
|00000ba0| 29 0d 0d 09 4c 6f 6e 67 | 09 6a 6f 79 62 74 6e 73 |)...Long|.joybtns|
|00000bb0| 2c 09 09 2f 2f 20 65 61 | 63 68 20 73 70 72 69 74 |,..// ea|ch sprit|
|00000bc0| 65 27 73 20 63 75 72 72 | 65 6e 74 20 6a 6f 79 73 |e's curr|ent joys|
|00000bd0| 74 69 63 6b 20 76 61 6c | 75 65 0d 09 09 09 09 6a |tick val|ue.....j|
|00000be0| 6f 79 6d 61 73 6b 2c 09 | 09 2f 2f 20 6d 61 73 6b |oymask,.|.// mask|
|00000bf0| 20 66 6f 72 20 61 6c 6c | 6f 77 61 62 6c 65 20 62 | for all|owable b|
|00000c00| 75 74 74 6f 6e 20 61 63 | 74 69 6f 6e 73 0d 09 09 |utton ac|tions...|
|00000c10| 09 09 6a 6f 79 66 6f 72 | 63 65 3b 09 09 2f 2f 20 |..joyfor|ce;..// |
|00000c20| 61 63 74 69 6f 6e 73 20 | 74 6f 20 66 6f 72 63 65 |actions |to force|
|00000c30| 20 73 70 72 69 74 65 20 | 74 6f 20 6d 61 6b 65 0d | sprite |to make.|
|00000c40| 0d 09 6c 6f 6e 67 09 63 | 6f 75 6e 74 2c 09 09 09 |..long.c|ount,...|
|00000c50| 2f 2f 20 63 6f 75 6e 74 | 20 64 6f 77 6e 20 74 6f |// count| down to|
|00000c60| 20 6e 65 78 74 20 27 61 | 63 74 69 6f 6e 27 20 28 | next 'a|ction' (|
|00000c70| 66 69 72 65 2c 20 65 74 | 63 29 0d 09 09 09 09 66 |fire, et|c).....f|
|00000c80| 6c 6f 6f 72 46 6c 61 67 | 2c 09 2f 2f 20 69 73 20 |loorFlag|,.// is |
|00000c90| 74 68 69 73 20 53 70 72 | 69 74 65 20 74 6f 75 63 |this Spr|ite touc|
|00000ca0| 68 69 6e 67 20 61 20 66 | 6c 6f 6f 72 3f 0d 09 09 |hing a f|loor?...|
|00000cb0| 09 09 6a 75 6d 70 4f 4b | 2c 09 20 09 09 2f 2f 20 |..jumpOK|,. ..// |
|00000cc0| 69 73 20 69 74 20 4f 4b | 20 74 6f 20 6a 75 6d 70 |is it OK| to jump|
|00000cd0| 3f 0d 09 09 09 09 73 61 | 66 65 3b 09 09 09 09 2f |?.....sa|fe;..../|
|00000ce0| 2f 20 3e 20 30 20 3d 3d | 20 64 72 61 77 20 65 76 |/ > 0 ==| draw ev|
|00000cf0| 65 72 79 20 6f 74 68 65 | 72 20 66 72 61 6d 65 20 |ery othe|r frame |
|00000d00| 26 20 63 6f 75 6e 74 64 | 6f 77 6e 20 74 6f 20 30 |& countd|own to 0|
|00000d10| 0d 0d 09 6c 6f 6e 67 09 | 48 50 3b 09 09 09 09 09 |...long.|HP;.....|
|00000d20| 2f 2f 20 73 70 72 69 74 | 65 27 73 20 68 69 74 20 |// sprit|e's hit |
|00000d30| 70 6f 69 6e 74 73 0d 09 | 4c 6f 6e 67 09 49 51 2c |points..|Long.IQ,|
|00000d40| 09 09 09 09 09 2f 2f 20 | 63 6f 75 6e 74 20 62 65 |.....// |count be|
|00000d50| 66 6f 72 65 20 6d 6f 6e | 73 74 65 72 20 77 69 6c |fore mon|ster wil|
|00000d60| 6c 20 6c 6f 63 61 74 65 | 20 70 6c 61 79 65 72 0d |l locate| player.|
|00000d70| 09 09 09 09 64 69 73 74 | 49 51 2c 09 09 09 2f 2f |....dist|IQ,...//|
|00000d80| 20 6d 61 78 20 64 69 73 | 74 61 6e 63 65 20 73 70 | max dis|tance sp|
|00000d90| 72 69 74 65 20 77 69 6c | 6c 20 72 65 61 63 74 20 |rite wil|l react |
|00000da0| 74 6f 20 70 6c 61 79 65 | 72 20 2a 20 32 35 36 0d |to playe|r * 256.|
|00000db0| 09 09 09 09 73 74 6f 70 | 49 51 2c 09 09 09 2f 2f |....stop|IQ,...//|
|00000dc0| 20 77 68 65 74 68 65 72 | 20 73 70 72 69 74 65 20 | whether| sprite |
|00000dd0| 77 69 6c 6c 20 73 74 6f | 70 20 6d 6f 76 65 6d 65 |will sto|p moveme|
|00000de0| 6e 74 0d 09 09 09 09 74 | 79 70 65 2c 09 09 09 09 |nt.....t|ype,....|
|00000df0| 2f 2f 20 74 79 70 65 20 | 6f 66 20 73 70 72 69 74 |// type |of sprit|
|00000e00| 65 20 28 66 6f 72 20 41 | 49 2c 6a 6f 79 2c 20 65 |e (for A|I,joy, e|
|00000e10| 74 63 2e 29 0d 09 09 09 | 09 73 6d 61 72 74 73 2c |tc.)....|.smarts,|
|00000e20| 09 09 09 2f 2f 20 70 6c | 61 63 65 20 74 6f 20 63 |...// pl|ace to c|
|00000e30| 6f 75 6e 74 20 64 6f 77 | 6e 20 49 51 0d 09 09 09 |ount dow|n IQ....|
|00000e40| 09 66 69 72 65 44 69 72 | 2c 09 09 2f 2f 20 70 6c |.fireDir|,..// pl|
|00000e50| 61 63 65 20 66 6f 72 20 | 66 69 72 65 20 64 69 72 |ace for |fire dir|
|00000e60| 65 63 74 69 6f 6e 20 66 | 6c 61 67 0d 09 09 09 09 |ection f|lag.....|
|00000e70| 67 6f 64 46 6c 61 67 3b | 09 09 2f 2f 20 67 6f 64 |godFlag;|..// god|
|00000e80| 66 6c 61 67 20 66 6f 72 | 20 69 6e 76 69 6e 63 69 |flag for| invinci|
|00000e90| 62 6c 65 20 73 70 72 69 | 74 65 73 0d 0d 09 6c 6f |ble spri|tes...lo|
|00000ea0| 6e 67 09 74 65 6d 70 31 | 2c 09 09 09 2f 2f 20 74 |ng.temp1|,...// t|
|00000eb0| 65 6d 70 20 73 74 6f 72 | 61 67 65 20 66 6f 72 20 |emp stor|age for |
|00000ec0| 53 70 72 69 74 65 20 68 | 61 6e 64 6c 69 6e 67 20 |Sprite h|andling |
|00000ed0| 72 6f 75 74 69 6e 65 73 | 0d 09 09 09 09 74 65 6d |routines|.....tem|
|00000ee0| 70 32 2c 0d 09 09 09 09 | 74 65 6d 70 33 2c 0d 09 |p2,.....|temp3,..|
|00000ef0| 09 09 09 74 65 6d 70 34 | 2c 0d 0d 09 09 09 09 66 |...temp4|,......f|
|00000f00| 69 72 65 43 6f 75 6e 74 | 3b 09 2f 2f 20 66 6f 72 |ireCount|;.// for|
|00000f10| 20 66 69 72 69 6e 67 20 | 64 65 6c 61 79 0d 0d 09 | firing |delay...|
|00000f20| 73 74 72 75 63 74 20 41 | 63 74 6f 72 53 74 72 75 |struct A|ctorStru|
|00000f30| 63 74 0d 09 09 09 09 2a | 6e 65 78 74 2c 09 2f 2f |ct.....*|next,.//|
|00000f40| 20 70 6f 69 6e 74 65 72 | 20 74 6f 20 6e 65 78 74 | pointer| to next|
|00000f50| 20 61 63 74 6f 72 20 73 | 74 72 75 63 74 20 69 6e | actor s|truct in|
|00000f60| 20 6c 69 6e 6b 65 64 20 | 6c 69 73 74 0d 09 09 09 | linked |list....|
|00000f70| 09 2a 70 72 65 76 3b 09 | 2f 2f 20 70 6f 69 6e 74 |.*prev;.|// point|
|00000f80| 65 72 20 74 6f 20 70 72 | 65 76 69 6f 75 73 20 61 |er to pr|evious a|
|00000f90| 63 74 6f 72 20 73 74 72 | 75 63 74 20 69 6e 20 6c |ctor str|uct in l|
|00000fa0| 69 6e 6b 65 64 20 6c 69 | 73 74 0d 0d 09 6c 6f 6e |inked li|st...lon|
|00000fb0| 67 09 69 6e 64 65 78 2c | 09 2f 2f 20 61 63 74 6f |g.index,|.// acto|
|00000fc0| 72 20 6c 61 79 65 72 20 | 69 6e 64 65 78 20 26 20 |r layer |index & |
|00000fd0| 69 64 20 74 6f 20 72 65 | 73 74 6f 72 65 20 69 66 |id to re|store if|
|00000fe0| 20 6f 66 66 73 63 72 65 | 65 6e 0d 09 09 09 09 69 | offscre|en.....i|
|00000ff0| 64 3b 0d 0d 7d 20 41 63 | 74 6f 72 53 74 72 75 63 |d;..} Ac|torStruc|
|00001000| 74 2c 20 2a 41 63 74 6f | 72 50 74 72 3b 0d 00 00 |t, *Acto|rPtr;...|
|00001010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001080| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00001090| 57 52 44 10 46 4c 44 52 | 20 72 65 73 6f 75 72 63 |WRD.FLDR| resourc|
|000010a0| 65 20 49 44 44 57 52 44 | 10 46 49 4c 53 20 72 65 |e IDDWRD|.FILS re|
|000010b0| 06 74 65 73 74 2e 68 74 | 02 00 00 00 54 45 58 54 |.test.ht|....TEXT|
|000010c0| 43 57 49 45 01 00 ff ff | ff ff 00 00 00 00 31 56 |CWIE....|......1V|
|000010d0| 00 00 54 45 58 54 43 57 | 49 45 01 00 ff ff ff ff |..TEXTCW|IE......|
|000010e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010f0| 00 00 ac 03 84 23 00 00 | 0f 8e 00 00 01 9a 61 6d |.....#..|......am|
|00001100| 65 50 30 31 46 00 00 00 | b7 14 4e 75 6d 62 65 72 |eP01F...|..Number|
|00001110| 20 6f 66 20 6d 65 6e 75 | 20 69 74 65 6d 73 4f 43 | of menu| itemsOC|
|00001120| 4e 54 05 2a 2a 2a 2a 2a | 4c 53 54 43 08 75 6e 75 |NT.*****|LSTC.unu|
|00001130| 73 65 64 20 31 42 42 49 | 54 0c 49 73 20 53 65 70 |sed 1BBI|T.Is Sep|
|00001140| 61 72 61 74 6f 72 42 42 | 49 54 07 45 6e 61 62 6c |aratorBB|IT.Enabl|
|00001150| 65 64 42 42 49 54 07 43 | 6f 6e 74 72 6f 6c 42 42 |edBBIT.C|ontrolBB|
|00001160| 49 54 06 4f 70 74 69 6f | 6e 42 42 49 54 09 43 61 |IT.Optio|nBBIT.Ca|
|00001170| 70 73 20 4c 6f 63 6b 42 | 42 49 54 09 53 68 69 66 |ps LockB|BIT.Shif|
|00001180| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00001190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011a0| 00 00 00 00 00 00 00 02 | 00 02 00 98 00 4b 03 71 |........|.....K.q|
|000011b0| 02 c6 00 98 00 4b 03 71 | 02 c6 af 37 37 91 00 00 |.....K.q|...77...|
|000011c0| 01 3d 00 00 01 3d 00 00 | 00 00 01 00 00 00 00 04 |.=...=..|........|
|000011d0| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|000011e0| 00 00 00 46 04 64 77 3c | 2a 3c 00 00 00 1c 00 46 |...F.dw<|*<.....F|
|000011f0| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00001200| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00001210| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|00001220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+